package param.firstStage;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Price;
import param.pub.Publicrequest;
import param.pub.ShareRequest;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "pricesynrequest")
public class PriceSynRequest extends ShareRequest{

	private static final long serialVersionUID = -9104573130550948440L;

	private Publicrequest publicrequest;

	private List<Price> prices;

	@XmlElement(name = "publicrequest")
	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

	@XmlElementWrapper(name = "prices")
	@XmlElement(name = "price")
	public List<Price> getPrices() {
		return prices;
	}

	public void setPrices(List<Price> prices) {
		this.prices = prices;
	}

}
